home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20020314-20021006 / 000116_david.neau@dial.oleane.com_Tue Jun 4 10:08:55 EDT 2002.msg < prev    next >
Text File  |  2020-01-01  |  3KB  |  77 lines

  1. Article: 13411 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!news-hog.berkeley.edu!ucberkeley!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
  3. From: david.neau@dial.oleane.com (david)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: kermit file
  6. Date: 4 Jun 2002 00:29:21 -0700
  7. Organization: http://groups.google.com/
  8. Lines: 58
  9. Message-ID: <fd9f03a6.0206032329.ef1732a@posting.google.com>
  10. References: <fd9f03a6.0206030803.6475f94c@posting.google.com> <adg4td$9bq$1@watsol.cc.columbia.edu> <Pine.HPX.4.21.0206031523540.13422-100000@fog.ccsf.cc.ca.us>
  11. NNTP-Posting-Host: 193.251.151.12
  12. Content-Type: text/plain; charset=ISO-8859-1
  13. Content-Transfer-Encoding: 8bit
  14. X-Trace: posting.google.com 1023175761 27025 127.0.0.1 (4 Jun 2002 07:29:21 GMT)
  15. X-Complaints-To: groups-abuse@google.com
  16. NNTP-Posting-Date: 4 Jun 2002 07:29:21 GMT
  17. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13411
  18.  
  19. Mark Sapiro <msapiro@ccsf.edu> wrote in message news:<Pine.HPX.4.21.0206031523540.13422-100000@fog.ccsf.cc.ca.us>...
  20. > On 3 Jun 2002, Frank da Cruz wrote:
  21. > > In article <fd9f03a6.0206030803.6475f94c@posting.google.com>,
  22. > > david <david.neau@dial.oleane.com> wrote:
  23. > > :     When I do on Kermit prompt
  24. > > : 
  25. > > : ...
  26. > > : dial number
  27. > > : 
  28. > > :     It work well, connection and terminal echo are OK
  29. > > : 
  30. > > :     but when i put it un a kermit script or in file ( kermit -y file )
  31. > > :     it return at the kermit prompt after connexion but nothing is display
  32. > > :        on my terminal ...
  33. > > : ...
  34. > > :     Could somebody help me
  35. > > : 
  36. > > As explained in the manual, when the DIAL command is given at the prompt,
  37. > > it enters CONNECT mode automatically if the call was successful, whereas if
  38. > > it is given in a script, it remains in command mode.  Your script should say:
  39. > > 
  40. > >   dial number
  41. > >   if success connect
  42. > > 
  43. > > Or:
  44. > > 
  45. > >   set dial connect on
  46. > >   dial number
  47. > Frank's reply may be what you're looking for, but if what you want is to
  48. > see the script commands as they are executed, add "set take echo on" at
  49. > the beginning of the script.  Note that this setting is primarily intended
  50. > for debugging.
  51.  
  52.  
  53. Thanks all for yours answers, it works well with the command set dial
  54. connect on, but I have a other bug. I try to run this script by a perl
  55. program, I do somthething like that
  56.  
  57.     system ( " kermit_script & ") ---> in background because perl program
  58. need to continue ..
  59.     
  60.     connection work but just after it disconnect , why ?
  61.  
  62.     thanks
  63.  
  64.     This is what appens :
  65.  
  66. CONNECT 9600/ARQ/V34/MNP
  67. Connecting to /dev/ttyS0, speed 9600.
  68. The escape character is Ctrl-\ (ASCII 28, FS)
  69. Type the escape character followed by C to get back,
  70. or followed by ? to see other options.
  71. (Session logged to /home/ippm/robot/LOG/kermit.log, text)
  72. ----------------------------------------------------
  73. (Back at "my computer" )
  74. Closing /dev/ttyS0...OK
  75.